from django.contrib import admin

# Register your models here.
from django.contrib import admin
from backend.api.models import DlModel, FishInfo


@admin.register(DlModel)
class BlogTypeAdmin(admin.ModelAdmin):
    list_display = ('pk', 'name','owner', 'model_type', 'model_file', 'model_params')  # 在后台列表下显示的字段

@admin.register(FishInfo)
class FishInfoAdmin(admin.ModelAdmin):
    list_display = ('pk', 'name', 'introduce', 'outline', 'distribute', 'habit', 'food',
                  'water', 'disease', 'life')